package com.jiejie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.sql.Blob;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 辰广
 * @since 2022-10-05
 */
public class Comments implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 评论id
     */
    @TableId(value = "comments_id", type = IdType.AUTO)
    private Integer commentsId;

    /**
     * 电影id
     */
    private Integer movieId;

    /**
     * 用户id
     */
    private Integer customerId;

    /**
     * 电影评分
     */
    private String commentsScore;

    /**
     * 评论内容
     */
    private String commentsContent;

    /**
     * 评论状态
     */
    private Integer commentsStatus;

    /**
     * 评论点赞数
     */
    private Integer commentsLikes;

    /**
     * 锁
     */
    private Integer commentsVersion;

    private LocalDateTime commentsCreateTime;

    private LocalDateTime commentsUpdateTime;

    private String orther1;

    private String orther2;

    public Integer getCommentsId() {
        return commentsId;
    }

    public void setCommentsId(Integer commentsId) {
        this.commentsId = commentsId;
    }
    public Integer getMovieId() {
        return movieId;
    }

    public void setMovieId(Integer movieId) {
        this.movieId = movieId;
    }
    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }
    public String getCommentsScore() {
        return commentsScore;
    }

    public void setCommentsScore(String commentsScore) {
        this.commentsScore = commentsScore;
    }
    public String getCommentsContent() {
        return commentsContent;
    }

    public void setCommentsContent(String commentsContent) {
        this.commentsContent = commentsContent;
    }
    public Integer getCommentsStatus() {
        return commentsStatus;
    }

    public void setCommentsStatus(Integer commentsStatus) {
        this.commentsStatus = commentsStatus;
    }
    public Integer getCommentsLikes() {
        return commentsLikes;
    }

    public void setCommentsLikes(Integer commentsLikes) {
        this.commentsLikes = commentsLikes;
    }
    public Integer getCommentsVersion() {
        return commentsVersion;
    }

    public void setCommentsVersion(Integer commentsVersion) {
        this.commentsVersion = commentsVersion;
    }
    public LocalDateTime getCommentsCreateTime() {
        return commentsCreateTime;
    }

    public void setCommentsCreateTime(LocalDateTime commentsCreateTime) {
        this.commentsCreateTime = commentsCreateTime;
    }
    public LocalDateTime getCommentsUpdateTime() {
        return commentsUpdateTime;
    }

    public void setCommentsUpdateTime(LocalDateTime commentsUpdateTime) {
        this.commentsUpdateTime = commentsUpdateTime;
    }
    public String getOrther1() {
        return orther1;
    }

    public void setOrther1(String orther1) {
        this.orther1 = orther1;
    }
    public String getOrther2() {
        return orther2;
    }

    public void setOrther2(String orther2) {
        this.orther2 = orther2;
    }

    @Override
    public String toString() {
        return "Comments{" +
            "commentsId=" + commentsId +
            ", movieId=" + movieId +
            ", customerId=" + customerId +
            ", commentsScore=" + commentsScore +
            ", commentsContent=" + commentsContent +
            ", commentsStatus=" + commentsStatus +
            ", commentsLikes=" + commentsLikes +
            ", commentsVersion=" + commentsVersion +
            ", commentsCreateTime=" + commentsCreateTime +
            ", commentsUpdateTime=" + commentsUpdateTime +
            ", orther1=" + orther1 +
            ", orther2=" + orther2 +
        "}";
    }
}
